Markztools For Fixing Bad Layout Documents